<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      libcdio-2.1.0
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="libcddb.html" title="libcddb-1.3.2">Prev</a>
          <p>
            libcddb-1.3.2
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libdiscid.html" title=
          "libdiscid-0.6.2">Next</a>
          <p>
            libdiscid-0.6.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="libcdio" name="libcdio"></a>libcdio-2.1.0
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to libcdio
        </h2>
        <p>
          The <span class="application">libcdio</span> is a library for
          CD-ROM and CD image access. The associated <span class=
          "application">libcdio-cdparanoia</span> library reads audio from
          the CD-ROM directly as data, with no analog step between, and
          writes the data to a file or pipe as .wav, .aifc or as raw 16 bit
          linear PCM.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://ftp.gnu.org/gnu/libcdio/libcdio-2.1.0.tar.bz2">https://ftp.gnu.org/gnu/libcdio/libcdio-2.1.0.tar.bz2</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.gnu.org/gnu/libcdio/libcdio-2.1.0.tar.bz2">ftp://ftp.gnu.org/gnu/libcdio/libcdio-2.1.0.tar.bz2</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: aa7629e8f73662a762f64c444b901055
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 1.7 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 43 MB (both packages,
                including checks)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.3 SBU (using parallelism=4; both
                packages, including checks)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Additional Downloads
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Required file: <a class="ulink" href=
                "https://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2">
                https://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2</a>
              </p>
            </li>
          </ul>
        </div>
        <h3>
          libcdio Dependencies
        </h3>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="libcddb.html" title=
          "libcddb-1.3.2">libcddb-1.3.2</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/libcdio">http://wiki.linuxfromscratch.org/blfs/wiki/libcdio</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of libcdio
        </h2>
        <p>
          Install <span class="application">libcdio</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr --disable-static &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          check</strong></span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
        <p>
          Now install libcdio-paranoia:
        </p>
        <pre class="userinput">
<kbd class=
"command">tar -xf ../libcdio-paranoia-10.2+2.0.1.tar.bz2 &amp;&amp;
cd libcdio-paranoia-10.2+2.0.1 &amp;&amp;

./configure --prefix=/usr --disable-static &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          check</strong></span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">cdda-player, cd-drive, cd-info,
              cd-paranoia, cd-read, iso-info, iso-read, and mmc-tool</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">libcdio.so, libcdio++.so, libcdio_cdda,
              libcdio_paranoia, libiso9660, libiso9660++, and
              libudf.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/cdio and
              /usr/include/cdio++</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="cd-drive" name="cd-drive"></a><span class=
                    "term"><span class=
                    "command"><strong>cd-drive</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    shows CD-ROM drive characteristics
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="cd-info" name="cd-info"></a><span class=
                    "term"><span class=
                    "command"><strong>cd-info</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    shows information about a CD or CD-image
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="cd-paranoia" name="cd-paranoia"></a><span class=
                    "term"><span class=
                    "command"><strong>cd-paranoia</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is an audio CD reading utility which includes extra data
                    verification features
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="cd-read" name="cd-read"></a><span class=
                    "term"><span class=
                    "command"><strong>cd-read</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    reads Information from a CD or CD-image
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="cdda-player" name="cdda-player"></a><span class=
                    "term"><span class=
                    "command"><strong>cdda-player</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a simple curses CD player
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="iso-info" name="iso-info"></a><span class=
                    "term"><span class=
                    "command"><strong>iso-info</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    shows Information about an ISO 9660 image
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="iso-read" name="iso-read"></a><span class=
                    "term"><span class=
                    "command"><strong>iso-read</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    reads portions of an ISO 9660 image
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="mmc-tool" name="mmc-tool"></a><span class=
                    "term"><span class=
                    "command"><strong>mmc-tool</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    issues libcdio multimedia commands
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libcdio.so" name="libcdio.so"></a><span class=
                    "term"><code class="filename">libcdio.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains the primary cdio API functions
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-17 12:12:55 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="libcddb.html" title="libcddb-1.3.2">Prev</a>
          <p>
            libcddb-1.3.2
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libdiscid.html" title=
          "libdiscid-0.6.2">Next</a>
          <p>
            libdiscid-0.6.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
